// 集成hooks
import { useOwnerTableColumn } from '@/views/Excel/hooks/Useowner';
import { useUpdateTimeTableColumn } from '@/views/Excel/hooks/Useupdatetime';
import { useTitleTableColumn } from '@/views/Excel/hooks/Usetitle';
import { useActionTableColumn } from '@/views/Excel/hooks/Useaction';
import { useCreateTimeTableColumn } from '@/views/Excel/hooks/Usecreatetime';

export const useTableColumns = (handleMenuClick) => {

    const titleColumn = useTitleTableColumn()
    const ownerColumn = useOwnerTableColumn()
    const updateTimeColumn = useUpdateTimeTableColumn()
    const actionColumn = useActionTableColumn(handleMenuClick)
    const createTimeColumn = useCreateTimeTableColumn()
    return {
        titleColumn,
        ownerColumn,
        updateTimeColumn,
        actionColumn,
        createTimeColumn,
    }
}